package com.design.mode.template;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2023-04-12 10:37:32
 */
public class Work1 implements TemplateWork {
    @Override
    public boolean write() {
        System.out.println(this.getClass().getName() + "\twrite");
        return true;
    }

    @Override
    public boolean commit() {
        System.out.println(this.getClass().getName() + "\tcommit");
        return true;
    }

    @Override
    public boolean action() {
        System.out.println(this.getClass().getName() + "\taction");
        return true;
    }
}
